package com.design.adapter.login;

public class Test {
    public static void main(String[] args) {

        LoginAdapter loginAdapter = new LoginAdapter();
        boolean isSucceed = loginAdapter.login("admin");
        if (isSucceed) {
            System.out.println("系统登录成功");
        } else {
            System.out.println("登录失败");
        }
        System.out.println(loginAdapter.login("admin","admin"));
    }
}
